package com.wu.pmo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 项目主信息表
 * @TableName projects
 */
@TableName(value ="projects")
@Data
public class Projects {

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer customerId;

    private String projectType;

    private String initiationStage;

    private String initiationReason;

    private LocalDate plannedSigningDate;

    private LocalDate desiredMeetingTime;

    private String initiationMethod;

    private String dingtalkContract;

    private String dingtalkInitiationForm;

    private Integer salesId;

    private Integer mainPresalesId;

    private Integer auxPresalesId;

    private LocalDate agreedStartDate;

    private LocalDate agreedGoLiveDate;

    private BigDecimal presalesEstimatedManDays;

    private BigDecimal initiationManDays;

    private String preProjectMatters;

    private String preProjectCommitments;

    private String travelInfo;

    private String riskInfo;

    private String specialNotes;

    private String remarks;

    private String status;

    @TableLogic
    private Integer isDeleted;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}